class UploadRoomPaintBean {
  String suiteId;
  List<Videos> videos;
  String suiteAdrr;

  UploadRoomPaintBean({this.suiteId, this.videos, this.suiteAdrr});

  UploadRoomPaintBean.fromJson(Map<String, dynamic> json) {
    suiteId = json['suiteId'];
    if (json['videos'] != null) {
      videos = new List<Videos>();
      json['videos'].forEach((v) {
        videos.add(new Videos.fromJson(v));
      });
    }
    suiteAdrr = json['suiteAdrr'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['suiteId'] = this.suiteId;
    if (this.videos != null) {
      data['videos'] = this.videos.map((v) => v.toJson()).toList();
    }
    data['suiteAdrr'] = this.suiteAdrr;
    return data;
  }
}

class Videos {
  String areaType;
  int timeConsuming;
  int size;
  String videoKey;
  String imageKey;
  String roomCode;

  Videos(
      {this.areaType,
        this.timeConsuming,
        this.size,
        this.videoKey,
        this.imageKey,
        this.roomCode});

  Videos.fromJson(Map<String, dynamic> json) {
    areaType = json['areaType'];
    timeConsuming = json['timeConsuming'];
    size = json['size'];
    videoKey = json['videoKey'];
    imageKey = json['imageKey'];
    roomCode = json['roomCode'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['areaType'] = this.areaType;
    data['timeConsuming'] = this.timeConsuming;
    data['size'] = this.size;
    data['videoKey'] = this.videoKey;
    data['imageKey'] = this.imageKey;
    data['roomCode'] = this.roomCode;
    return data;
  }
}